package com.yuan.kafkastudy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuan.kafkastudy.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author asus
* @description 针对表【user】的数据库操作Mapper
* @createDate 2025-08-10 18:58:37
* @Entity generator.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from kafkareserve.user where id = #{id}")
    User selectUser(@Param("id") int id);
}




